### Configuration loading test
ADD_EXECUTABLE( test_manual_conf_load test_manual_conf_load.cpp )
TARGET_LINK_LIBRARIES( test_manual_conf_load jolfs )

### Local volume test
ADD_EXECUTABLE( test_local_volume test_local_volume.cpp )
TARGET_LINK_LIBRARIES( test_local_volume jolfs )

### Local volume merger test
ADD_EXECUTABLE( test_local_merger test_local_merger.cpp )
TARGET_LINK_LIBRARIES( test_local_merger jolfs )

### Helper functions test
ADD_EXECUTABLE( test_tools_filesystem test_tools_filesystem.cpp )
TARGET_LINK_LIBRARIES( test_tools_filesystem jolfs )

### FUSE test
INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(FUSE REQUIRED "fuse >= 2.6")
ADD_DEFINITIONS(${FUSE_CFLAGS})
INCLUDE_DIRECTORIES(${FUSE_INCLUDE_DIRS})
LINK_DIRECTORIES(${FUSE_LDFLAGS})
ADD_EXECUTABLE( test_fuse test_fuse.cpp )
TARGET_LINK_LIBRARIES( test_fuse jolfs fuse )

# Add your tests here